package com.mengwen.backstage.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.mengwen.backstage.pojo.WeixinUser;
import net.sf.json.JSONObject;

/**
 * @author LiangYonghui
 * @date 2020/3/23 22:06
 * @description
 */
public interface UserInfoService {
    JSONObject getUserInfoAPI(String openId) throws Exception;

    WeixinUser JSONObjectToWeixinUser(JSONObject jsonObject) throws JsonProcessingException;

    void addWeiXinUserInfo(String openid) throws Exception;


    Integer deleteWeiXinUserInfo(String fromUserName);
}
